#
# Copyright (c) 2006-2018 Wade Alcorn - wade@bindshell.net
# Browser Exploitation Framework (BeEF) - http://beefproject.com
# See the file 'doc/COPYING' for copying permission
#
module BeEF
  module Core
    module Models
      class IpecExploits

        include DataMapper::Resource
        #todo: use this table when we'll have a bigger IPEC exploits choice
        storage_names[:default] = 'extension_ipec_exploits'

        property :id, Serial

        property :name, Text, :lazy => false
        property :protocol, String, :lazy => false
        property :os, String, :lazy => false

        has n, :extension_ipec_exploits_run, 'IpecExploitsRun'

      end

    end
  end
end
